import NvData from '@/js/NvData'
export default class FvData extends NvData {
  constructor(nvs, nv, nd, fdName, layout, fdLayout) {
    super(nvs, nv, nd, layout);
    this.fdName = fdName;
    this.fdLayout = fdLayout;
  }

  getValue() {
    return this.nv[this.fdName];
  }

  setValue(value) {
    this.nv[this.fdName] = value;
  }

  getNvId() {
    return this.nv.id;
  }

  getFdLayout() {
    return this.fdLayout;
  }

  getLayout() {
    return this.layout;
  }

  getNv() {
    return this.nv;
  }

  getNd() {
    return this.nd;
  }
}
